﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Server;
using Sio.Mdm.Types;
using Sio.Mdm.Types.Database;

namespace Sio.Mdm.BF.Administracija
{
    public interface IAvtorizacijaService: IService
    {
        Result Login(string uporabniskoIme, string geslo, int organizacijaId, out Session session);
        Result Logout(ref Session session);
        Result EncryptPassword(ref string password);
        Result DecryptPassword(ref string password);
        Result SecurityTokens(Session session, ref IList<ZetoniUporabnika> tokens);
    }
}
